home *** CD-ROM | disk | FTP | other *** search
/ Die Ultimative Software-P…i Collection 1996 & 1997 / Die Ultimative Software-Pakete CD-ROM fur Atari Collection 1996 & 1997.iso / u / utility / 1st_word / 1stword.prt / sg10.hex < prev    next >
Encoding:
Text File  |  1996-11-17  |  9.8 KB  |  261 lines

  1. ****************************************************************
  2. *
  3. *    Epson RX-80 Matrix Printer Driver Configuration Table
  4. *
  5. *    some commands for FX80 and JX80 are also included,
  6. *    but they are commented out.
  7. *
  8. *    This file contains tables defining the code sequences
  9. *    to be sent to the printer to perform various functions
  10. *    and to access the characters from codes in the Atari
  11. *    character set.
  12. *
  13. ****************************************************************
  14.  
  15. *
  16. * Name of printer
  17. * ===============
  18. *
  19. SG 10
  20. *
  21. * Miscellaneous configurable variables
  22. * ====================================
  23. *
  24. * 1: printer type, 0=dot matrix, 1=daisy wheel
  25. *    Note if printer type is 0 the following 4 variables are never used.
  26. * 2: unit width of one character
  27. * 3: unit height of one line
  28. * 4: Approximate middle of carriage after formfeed
  29. * 5: Carriage shift for bold overstrike
  30. *
  31. 0, 0, 0, 0, 0
  32.  
  33. *
  34. * Printer characteristics
  35. * =======================
  36. *
  37. * This table specifies the printer command sequences.
  38. * If the top bit of a code is set, then this indicates the position
  39. * of a parameter passed to the printer. The code whose top bit is set
  40. * in this table is added to the parameter passed before being sent to the
  41. * printer. It is not used in all command sequences, only in those where 
  42. * the printer requires  a variable value such as the length of a vertical 
  43. * tab.
  44. *
  45. * 0            * Character width
  46. 1, D, A        * Linefeed WITH return
  47. * 2            * Forward print
  48. * 3            * Reverse print
  49. * 4, 1B, 42, 80, 0, B                * Vertical tab to line (FX or LX)
  50. 5, 9            * Absolute horizontal tab 
  51. 6, 1B, 42, 5, 1B, 45      * Draft bold on
  52. 7, 1B, 46, 1B, 42, 5      * Draft bold off
  53. 8, 1B, 45, 1B, 42, 4      * Near Letter Quality (NLQ) bold on (LX80)
  54. 9, 1B, 46      * NLQ bold off
  55. A, 1B, 42, 5, 1B, 34      * Draft italic on
  56. B, 1B, 35      * Draft italic off
  57. C, 1B, 42, 5, 1B, 34       * NLQ italic on
  58. D, 1B, 35, 1B, 42, 4       * NLQ italic off
  59. E, 1B, 57, 1, 1B, 42, 4            * Draft light on
  60. F, 1B, 57, 0           * Draft light off
  61. 10, 1B, 42, 4, 1B, 51, 1  * NLQ light on
  62. 11, 1B, 57, 0  * NLQ light off
  63. 12, 1B, 42, 5, 1B, 53, 0  * Draft superscript on
  64. 13, 1B, 42, 5, 1B, 54     * Draft superscript off
  65. 14, 1B, 42, 4, 1B, 53, 0  * NLQ superscript on
  66. 15, 1B, 54           * NLQ superscript off
  67. 16, 1B, 42, 5, 1B, 53, 1  * Draft subscript on
  68. 17, 1B, 54     * Draft subscript off
  69. 18, 1B, 42, 5, 1B, 53, 1           * NLQ subscript on
  70. 19, 1B, 54              * NLQ subscript off
  71. 1A, 1B, 2D, 1, 1B, 42, 4  * Draft underline on
  72. 1B, 1B, 2D, 0  * Draft underline off
  73. 1C, 1B, 2D, 1, 1B, 42, 4  * NLQ underline on
  74. 1D, 1B, 2D, 0  * NLQ underline off
  75. 1E, C          * Formfeed
  76. 1F, 12         * Horizontal initialisation
  77. * 20           * Vertical initialisation
  78. 21, 1B, 40     * Termination: printer reset
  79. 0              * NULL termination byte
  80.  
  81. *
  82. * Translation Table
  83. * =================
  84. *
  85. * This table provides translation from single Atari input bytes into
  86. * multiple Epson printer codes, and is useful for printing extraneous
  87. * characters such as accented characters etc. All characters are 
  88. * subjected to translation, but if there is no entry in the table for
  89. * a particular code, then the original code is sent to the printer.
  90. *
  91. * The entries must be arranged in ascending order of Atari input
  92. * code. The table is NULL terminated.
  93.  
  94. 0                                  * NULL: print a space 
  95. 1, 1B, 52, 0, 7C, 8, 5E            * Up arrow: USA | backspace USA ^
  96. 2, 1B, 52, 0, 7C, 8, 76            * Down arrow: USA | backspace USA v
  97. 3, 2D, 8, 3E  * Right arrow: - backspace >
  98. 4, 3C, 8, 2D  * Left arrow: - backspace <
  99. 5             * No close box
  100. 6             * No size box
  101. 7             * No full box
  102. 8             * No tick
  103. 9             * No clock
  104. A             * No bell
  105. B             * No musical note
  106. E             * No LH Atari symbol     
  107. F             * No RH Atari symbol
  108. 10, 1B, 42, 1      * LCD 0 SELECT PICA PRINT
  109. 11, 1B, 42, 2      * LCD 1 SELECT ELITE PRINT
  110. 12, 1B, 42, 3      * LCD 2 SELECT CONDENSED   
  111. 13, 14             * LCD 3 SELECT EXPANDED PRINT
  112. 14, 20             * LCD 4 CANCEL EXPANDED PRINT
  113. 15, 1B, 47         * LCD 5 DOUBLE STRIKE
  114. 16, 1B, 48         * LCD 6 CANCEL DOUBLE STRIKE
  115. 17, 1B, 45         * LCD 7 EMPHASIZED PRINT    
  116. 18, 1B, 46         * LCD 8 CANCEL EMPHASIZED
  117. 19        * LCD 9     
  118. 23, 1B, 52, 0, 23        * # from USA fount
  119. 24, 1B, 52, 0, 24        * $ from USA fount
  120. 40, 1B, 52, 0, 40        * @ from USA fount
  121. 5B, 1B, 52, 0, 5B        * [ from USA fount
  122. 5C, 1B, 52, 0, 5C        * \ from USA fount
  123. 5D, 1B, 52, 0, 5D        * ] from USA fount
  124. 5E, 1B, 52, 0, 5E        * ^ from USA fount
  125. 60, 1B, 52, 0, 60        * ' from USA fount
  126. 7B, 1B, 52, 0, 7B        * { from USA fount
  127. 7C, 1B, 52, 0, 7C        * | from USA fount
  128. 7D, 1B, 52, 0, 7D        * } from USA fount
  129. 7E, 1B, 52, 0, 7E        * ~ from USA fount
  130. 7F                       * No triangle
  131. 80, 43, 8, 2C            * Capital C cedilla: C backspace ,
  132. 81, 1B, 52, 2, 7D        * Lower case u umlaut from German fount
  133. 82, 1B, 52, 1, 7B        * Lower case e acute from French fount 
  134. 83, 61, 8, 1B, 52, 0, 5E * Lower case a circumflex: a backspace USA ^
  135. 84, 1B, 52, 2, 7B        * Lower case a umlaut from German fount
  136. 85, 1B, 52, 1, 40        * Lower case a grave from French fount
  137. 86, 1B, 52, 4, 7D        * Lower case a boll from Danish 1 fount
  138. 87, 1B, 52, 1, 5C        * Lower case c cedilla from French fount
  139. 88, 65, 8, 1B, 52, 0, 5E * Lower case e circumflex: e backspace USA ^
  140. 89, 65, 8, 1B, 52, 1, 7E * Lower case e umlaut: e backspace French umlaut
  141. 8A, 1B, 52, 1, 7D        * Lower case e grave from French fount
  142. 8B, 69, 8, 1B, 52, 1, 7E * Lower case i umlaut: i backspace French umlaut
  143. 8C, 69, 8, 1B, 52, 0, 5E * Lower case i circumflex: i backspace USA ^
  144. 8D, 1B, 52, 6, 7E        * Lower case i grave from Italian fount
  145. 8E, 1B, 52, 2, 5B        * Capital A umlaut from German fount
  146. 8F, 1B, 52, 4, 5D        * Capital A boll from Danish 1 fount
  147. 90, 1B, 52, 9, 40        * Capital E acute from Norwegian fount
  148. 91, 1B, 52, 4, 7B        * Lower case ae dipthong from Danish 1 fount
  149. 92, 1B, 52, 4, 5B        * Capital AE dipthong from Danish 1 fount
  150. 93, 6F, 8, 1B, 52, 0, 5E * Lower case o circumflex: o backspace USA ^
  151. 94, 1B, 52, 2, 7C        * Lower case o umlaut from German fount
  152. 95, 1B, 52, 6, 7C        * Lower case o grave from Italian fount
  153. 96, 75, 8, 1B, 52, 0, 5E * Lower case u circumflex: u backspace USA ^
  154. 97, 1B, 52, 1, 7C        * Lower case u grave from French fount
  155. 98, 79, 8, 1B, 52, 1, 7E * Lower case y umlaut: y backspace French umlaut
  156. 99, 1B, 52, 2, 5C        * Capital O umlaut from German fount
  157. 9A, 1B, 52, 2, 5D        * Capital U umlaut from German fount
  158. 9B, 63, 8, 1B, 52, 0, 7C * c cent: c backspace USA |
  159. 9C, 1B, 52, 3, 23        * Pound sterling from UK fount
  160. 9D, 1B, 52, 8, 5C        * Yen from Japanese fount
  161. 9E, 1B, 52, 2, 7E        * Esszet from German fount
  162. 9F, 66                   * Lower case swash f: print f
  163. A0, 61, 8, 27            * Lower case a acute: a backspace '
  164. A1, 69, 8, 27            * Lower case i acute: i backspace '
  165. A2, 6F, 8, 27            * Lower case o acute: o backspace '
  166. A3, 75, 8, 27            * Lower case u acute: u backspace '
  167. A4, 1B, 52, 7, 7C        * Lower case n tilde from Spanish fount
  168. A5, 1B, 52, 7, 5C        * Capital N tilde from Spanish fount
  169. A6, 61, 8, 5F            * Lower case a underline: a backspace underline
  170. A7, 6F, 8, 5F            * Lower case o underline: o backspace underline
  171. A8, 1B, 52, 7, 5D        * Inverted ? from Spanish fount
  172. A9                       * No top left corner     
  173. AA                       * No top right corner
  174. AB                       * No 1/2 fraction
  175. AC                       * No 1/4 fraction
  176. AD, 1B, 52, 7, 5B        * Inverted ! from Spanish fount
  177. AE                       * No <<
  178. AF                       * No >>
  179. B0, 61, 8, 1B, 52, 0, 7E * Lower case a tilde: a backspace USA ~
  180. B1, 6F, 8, 1B, 52, 0, 7E * Lower case o tilde: o backspace USA ~
  181. B2, 1B, 52, 4, 5C        * Capital crossed O from Danish 1 fount
  182. B3, 1B, 52, 4, 7C        * Lower case crossed o from Danish 1 fount
  183. B4                       * No lower case oe dipthong
  184. B5                       * No capital OE dipthong
  185. B6, 41                   * No capital A grave: print A
  186. B7, 41                   * No capital A tilde: print A
  187. B8, 4F                   * No capital O tilde: print O
  188. B9, 1B, 52, 1, 7E        * Umlaut from French fount
  189. BA, 27                   * Acute: print '
  190. BB                       * No dagger
  191. BC                       * No paragraph symbol
  192. BD                       * No copyright symbol
  193. BE                       * No Registered symbol
  194. BF                       * No Trademark symbol
  195. C0, 79, 8, 1B, 52, 1, 7E * ij ligature: y backspace French umlaut
  196. C1, 59                   * Capital IJ ligature: print Y
  197. C2        * No Hebrew...
  198. C3
  199. C4
  200. C5
  201. C6
  202. C7
  203. C8
  204. C9
  205. CA
  206. CB
  207. CC
  208. CD
  209. CE
  210. CF
  211. D0
  212. D1
  213. D2
  214. D3
  215. D4
  216. D5
  217. D6
  218. D7
  219. D8
  220. D9
  221. DA
  222. DB
  223. DC
  224. DD, 1B, 52, 2, 40   * Section mark from German fount
  225. DE        * No dropped circumflex
  226. DF        * No infinity
  227. E0        * No alpha
  228. E1, 1B, 52, 2, 7E   * Esszet from German fount     
  229. E2        * No Greek....
  230. E3
  231. E4
  232. E5
  233. E6
  234. E7
  235. E8
  236. E9
  237. EA
  238. EB
  239. EC
  240. ED
  241. EE
  242. EF
  243. F0, 3D, 8, 5F       * Equivalence: = backspace _
  244. F1, 2B, 8, 5F       * +-: + backspace _
  245. F2, 3E, 8, 5F       * >=: > backspace _
  246. F3, 3C, 8, 5F       * <=: < backspace _
  247. F4                  * No integral top piece
  248. F5                  * No integral bottom piece
  249. F6, 3A, 8, 2D       * Division sign: : backspace -
  250. F7                  * No twiddly = symbol
  251. F8, 1B, 52, 1, 5B   * Degree symbol from French fount
  252. F9        * No superior bullet
  253. FA        * No inferior bullet
  254. FB        * No square root sign
  255. FC        * No superior n
  256. FD        * No superior 2
  257. FE        * No superior 3
  258. FF        * No macron     
  259. 0
  260.